<?php /* Smarty version 2.6.26, created on 2011-02-27 06:52:57
         compiled from admin/login.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "admin/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<div id="login">
<div class="logo-i">鑫瑞后台管理系统</div>
<form id="frm" action="" method="POST">
<table cellspacing="10" cellpadding="3">
<tr><td class="tit">用户名：</td><td><input type="text" name="username" id="username" class="textclass"></td></tr>
<tr><td class="tit">密码：</td><td><input type="password" name="userpass" id="userpass" class="textclass"></td></tr>
<tr><td colspan="2" align="center"><input type="submit" class="btn" value="登 录"></td></tr>
</table>
<input type="hidden" name="act" value="submit">
</form>
</div>

<script type="text/javascript">
$(document).ready(function(){
	$('#frm').validate({
		rules: {
			username: {
				required: true,
				minlength: 3
			},
			userpass: {
				required: true,
				minlength: 6
			}
		},
		messages: {
			username: {
				required: '请输入用户名',
				minlength: '至少3个字符'
			},
			userpass: {
				required: '请输入密码',
				minlength: '至少6个字符'
			}
											
		},
		
		submitHandler:function(form) {
			form.submit();
		}
		
	});
});
</script>
	
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "admin/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>